#!/bin/sh
## A little script to make it easier to launch DiffMerge from the command line.
## Install this script into a folder in your path, such as /usr/bin or /usr/local/bin.
##
## Version 3.3.0.1001
## Copyright (C) 2003-2009 SourceGear LLC. All Rights Reserved.
##############################################################################

## Change DIFFMERGE_PATH to point to where you installed DiffMerge

DIFFMERGE_PATH=/Applications/DiffMerge.app

## The actual executable is hidden inside the .app bundle.

DIFFMERGE_EXE=${DIFFMERGE_PATH}/Contents/MacOS/DiffMerge

## Launch DiffMerge using the given command line arguments.  Use --help for
## additional information or see the man page distributed along with this
## shell script.

LEFT=${7}
RIGHT=${6}
$DIFFMERGE_EXE $LEFT $RIGHT
# add path of this file to ~/.subversion/config, under diff-tool-cmd
# or if you want to keep the original merge, add this alias:
# alias svndiff="svn diff --diff-cmd <path_to_this_file>
